package atm;

import java.io.Serializable;

/**
 * 用户类
 */

public class User implements Serializable {
    private String account;//账号
    private String pwd;//密码
    private double blance;//余额
    public User() {}
    public User(String account, String pwd, double blance) {
        this.account = account;
        this.pwd = pwd;
        this.blance = blance;
    }

    public String getAccount() {
        return this.account;
    }

    public void setAccount(String account) {
        this.account = account;
    }
    public String getPwd(){
        return this.pwd;
    }
    public void setPwd(String pwd){
        this.pwd = pwd;
    }
    public double getBlance(){
        return this.blance;
    }
    public void setBlance(double blance){
        this.blance = blance;
    }

}
